package cn.lysoy.demo.mappertest;

import cn.lysoy.demo.constant.CommonConstant;
import cn.lysoy.demo.entity.MapperLog;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.dynamic.datasource.annotation.DSTransactional;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
* @author SongYang
* @description 针对表【mapper_log】的数据库操作Mapper
* @createDate 2022-06-27 09:12:26
* @Entity com.zdxlz.ttbmsp.domain.MapperLog
*/
@Mapper
@DS(CommonConstant.LOG_DATASOURCE)
@DSTransactional
public interface MapperLogMapper extends BaseMapper<MapperLog> {
    /**
     * 参数和结果都在params中
     */
    Map<String, Object> requestCount(Map<String, Object> params);
}




